package com.TicTacToe;



import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class TicTacToeWelcomeTap extends Activity implements OnClickListener {
	private Button btn1,btn2;
	private Context context,context2;
	
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
        setContentView(R.layout.hellotap);
        context=this;
        context2=this;
        
        btn1 = (Button) findViewById(R.id.AiMode);
        btn2  = (Button) findViewById(R.id.Player2Mode);
        
        Bundle bundle = getIntent().getExtras();
        Bundle bundle2 = getIntent().getExtras();
        
        btn1.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = new Intent(context,TicTacToeAiActivity.class);
				intent.putExtra("hi","hey");
				context.startActivity(intent);
			}
		});
		
		btn2.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = new Intent(context2,TicTacToe2PlayerActivity.class);
				intent.putExtra("hi","hey");
				context2.startActivity(intent);
			}
		});
        
	}
	public void onClick(View v) {
		
		
		
		
	}

}
